<template>
	<view class="shop_order">
		<u-navbar title="订单信息" @rightClick="rightClick" :autoBack="true">
		</u-navbar>

		<view class="order_main">
			<view class="addr">
				<view class="paid">待付款</view>
				<view class="date">
					剩余23:59:59结束
				</view>
			</view>

			<view class="shop_list">
				<view class="shop_tab">
					<view class="tab_con">
						<view class="con_img">

						</view>
						<view class="con_center">
							<view class="cctop">
								天青色等烟雨
							</view>
							<view class="ccmid">
								天青色等烟雨
							</view>
							<view class="ccbot">
								￥333
							</view>
						</view>
						<view class="con_right">
							商品数量:6
						</view>
					</view>
				</view>

				<view class="shop_tab">
					<view class="tab_con">
						<view class="con_img">

						</view>
						<view class="con_center">
							<view class="cctop">
								天青色等烟雨
							</view>
							<view class="ccmid">
								天青色等烟雨
							</view>
							<view class="ccbot">
								￥333
							</view>
						</view>
						<view class="con_right">
							商品数量:6
						</view>
					</view>
				</view>

				<view class="shop_tab spex">
					<view class="tab_con">
						<view class="con_img">

						</view>
						<view class="con_center">
							<view class="cctop">
								天青色等烟雨
							</view>
							<view class="ccmid">
								天青色等烟雨
							</view>
							<view class="ccbot">
								￥333
							</view>
						</view>
						<view class="con_right">
							商品数量:6
						</view>
					</view>
				</view>
				<view class="all_count">
					<text>共16件商品</text>
					<text>小计 : </text>
					<text>2002</text>
				</view>
			</view>

			<view class="order_con2">
				<view class="con2_list">
					<view class="con2_tab">
						<text class="tab_left">收货人</text>
						<text class="tab_right ">测试</text>
					</view>
					<view class="con2_tab">
						<text class="tab_left">地址</text>
						<text class="tab_right ">广东省茂名市电白区</text>
					</view>

				</view>
			</view>
			<view class="go_shop">
				<view class="all_price">
					需支付: <text>7399</text>
				</view>
				<view class="shop_btn">
					去支付
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		},
		methods: {
			rightClick() {
				console.log('rightClick');
			},
			leftClick() {
				console.log('leftClick');
			}
		}
	}
</script>

<style lang="scss">
	.go_shop {
		height: 50px;
		margin-top: 10px;
		background-color: white;
		display: flex;
		padding-left: 20px;
		align-items: center;
		justify-content: space-between;
		font-size: 16px;

		.shop_btn {
			width: 100px;
			text-align: center;
			background-color: #ff78a2;
			height: 100%;
			line-height: 50px;
			color: white;
		}
	}

	.order_con2 {
		width: 100%;
		height: 80px;
		margin-top: 10px;
		background-color: white;

		.con2_list {
			padding: 18px 20px;

			.con2_tab {
				font-size: 14px;
				display: flex;
				justify-content: space-between;
				align-items: center;
				font-weight: 100;

				.tab_right {
					margin-top: 4px;
					color: #999;
				}
			}
		}
	}

	.pink {
		color: #ff78a2;

		&::before {
			content: "￥";
			font-size: 12px;
		}
	}

	.order_con1 {
		height: 216rpx;
		margin-top: 10px;
		width: 100%;
		background-color: white;

		.con1_list {
			margin: 0 20px;

			.con1_tab {
				width: 100%;
				border-bottom: 1px solid whitesmoke;
				padding: 18px 0;
				display: flex;
				justify-content: space-between;
				align-items: center;
				font-size: 14px;
				box-sizing: border-box;
			}
		}
	}

	.all_count {
		font-size: 14px;
		display: flex;
		align-items: center;
		justify-content: flex-end;
		margin: 0 20px;

		text {
			margin-right: 10px;

			&:nth-child(2) {
				margin-right: 5px;
			}

			&:last-child {
				color: #ff78a2;

				&::before {
					content: "￥";
					font-size: 12px;
				}
			}
		}
	}

	.spex {
		padding-bottom: 20px;
		border-bottom: 1px solid whitesmoke;
	}

	.shop_order {
		padding-bottom: 10px;
		background-color: #f2f3f3;
		color: #333;
	}

	.order_main {
		margin-top: 54px;
		width: 100%;
		background-color: whitesmoke;

		.addr {
			height: 140rpx;
			width: 750rpx;
			background-color: white;
			display: flex;

			flex-direction: column;
			justify-content: center;

			.paid {
				font-size: 18px;
				margin-left: 20px;
			}

			.date {
				margin-left: 20px;
			}
		}

		.addr_img {
			height: 4px;
			width: 100%;
			transform: translateY(-12px);
		}

		.shop_list {
			background-color: white;
			height: 756rpx;

			.shop_tab {
				height: 184rpx;
				margin: 10px 20px;

				.tab_con {
					height: 100%;
					width: 100%;
					display: flex;

					.con_img {
						background-color: whitesmoke;
						height: 184rpx;
						width: 184rpx;

					}

					.con_center {
						margin-left: 10px;
						height: 184rpx;
						width: 290rpx;

						.cctop {
							margin-top: 4px;
							font-size: 16px;
						}

						.ccmid {
							margin-top: 6px;
							font-size: 13px;
							color: #999;
							font-weight: 100;
						}

						.ccbot {
							margin-top: 20px;
							font-size: 14px;
						}
					}

					.con_right {
						margin-left: 10px;
						height: 176rpx;
						width: 150rpx;
						font-size: 13px;
						display: flex;
						align-items: flex-end;

					}
				}

				&:first-child {
					padding-top: 20px;
				}



			}
		}

		.user_msg {
			margin: 0 20px;
			height: 80px;
			display: flex;
			justify-content: space-between;
			align-items: center;
			transform: translateY(-4px);
		}

		.uname,
		.phone {
			font-size: 20px;
		}

		.btn {
			display: inline-block;
			margin-right: 4px;
		}

		.user_addr {
			font-size: 14px;
			width: 230px;
			margin-top: 10px;
		}
	}
</style>